import request from '@/plugin/axios'

export function fetchList (query) {
  return request({
    url: '/client/getSms',
    method: 'get',
    params: query
  })
}

export function send(clientId,tag, content) {
  return request({
    url: '/client/recv_center',
    method: 'post',
    // params: {
    //   clientId: clientId,
    //   tag: tag,
    //   content: content
    // }
    data: {
      clientid: clientId,
      tag: tag,
      content: content
    }
  })
}